class TradeError(Exception):
    """交易相关异常基类"""

class RetryableError(TradeError):
    """可重试的临时性错误"""
    pass

class MarketDataError(Exception):
    """行情数据异常"""
    pass

class TradingSystemError(Exception):
    """异常"""
    pass
